home *** CD-ROM | disk | FTP | other *** search
- The emulators normally prompt you for input from a port when
- your simulation requires. You may read such input from a
- carefully prepared disk file. First: when the program prompts
- you for input from the port you must type:
-
- <filespec
-
- where the < tells the input routine that input is to come
- from file filespec. For example, when the input routine prompts
- with:
-
- At pc=xxxx Input for port yy:
-
- If you now type <b:inpdata.dat, then data will be read
- from file inpdata.dat on drive b:.
-
- The requisite file format for such input data files is of the form:
-
- @##=v1,v2,v3,v4,v5,v6
-
- where ## is a two hex digit port number, and v1,v2,... are two hex
- digit values to be taken in sequence. For example:
-
- @01=07,06,05,04
-
- defines the input for port 01 to be the succesive values 07,06....
- If either the list is exhausted, or the input file does not define
- an input string for a required port number, the program will prompt
- you for input as before.
-
- Character values can be input as the two character sequence 'c
- where c is the character to be input.
-
- Each input value can be preceded by a decimal repetition factor:
-
- @01=100*02,20*03,04
-
- which causes the input for port 01 to be the value 02 for the first
- 100 reads from that port, then the value 03 for the next 20 reads,
- and finally the value 04.
-
- LIMITATIONS:
- 1. The input data file must be less than 4192 characters.
- 2. Each port definition (@xx=) must start on a new line.
- 3. Each line in the file must end with CR/LF.
- 4. Very little error checking is done on the input file.
-
- In addition to the above modification of input, the output routine
- can also be caused to proceed without your intervention: When the
- program displays:
-
- Output for port xx=yy (Press Key to continue)
-
- The program will no longer pause at addtional output if you
- type > at the prompt.
-